package com.ruoyi.common.core.domain.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;


public class DocTempManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板id */
    private Long tempId;

    /** 模板编号 */
    @Excel(name = "模板编号")
    private String tempNumber;

    /** 模板名字 */
    @Excel(name = "模板名字")
    private String tempName;

    /** 模板所属部门Id*/
    @Excel(name = "模板所属部门")
    private String tempDept;

    /** 模板所属部门名称*/
    @Excel(name = "模板所属部门名称")
    private String deptName;

    /** 模板路径 */
    @Excel(name = "模板路径")
    private String tempPath;

    /** 上传者名字 */
    @Excel(name = "上传者名字")
    private String tempUploader;

    /** 模板类型 */
    @Excel(name = "上传者名字")
    private String tempType;

    /** 逻辑删除 0：未删除 1：已删除 */
    @Excel(name = "逻辑删除 0：未删除 1：已删除")
    private Integer isdelFlag;

    /** 模板备注 */
    @Excel(name = "模板备注")
    private String tempNote;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createBy;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;


    /** 模板附件id */
    @Excel(name = "模板附件id")
    private String docTempId;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getDocTempId() {
        return docTempId;
    }

    public void setDocTempId(String docTempId) {
        this.docTempId = docTempId;
    }

    public void setTempId(Long tempId)
    {
        this.tempId = tempId;
    }

    public String getTempType() {
        return tempType;
    }

    public void setTempType(String tempType) {
        this.tempType = tempType;
    }

    public Long getTempId() 
    {
        return tempId;
    }
    public void setTempNumber(String tempNumber)
    {
        this.tempNumber = tempNumber;
    }

    public String getTempNumber()
    {
        return tempNumber;
    }
    public void setTempName(String tempName) 
    {
        this.tempName = tempName;
    }

    public String getTempName() 
    {
        return tempName;
    }
    public void setTempDept(String tempDept) 
    {
        this.tempDept = tempDept;
    }

    public String getTempDept() 
    {
        return tempDept;
    }
    public void setTempPath(String tempPath) 
    {
        this.tempPath = tempPath;
    }

    public String getTempPath() 
    {
        return tempPath;
    }
    public void setTempUploader(String tempUploader) 
    {
        this.tempUploader = tempUploader;
    }

    public String getTempUploader() 
    {
        return tempUploader;
    }
    public void setIsdelFlag(Integer isdelFlag) 
    {
        this.isdelFlag = isdelFlag;
    }

    public Integer getIsdelFlag() 
    {
        return isdelFlag;
    }
    public void setTempNote(String tempNote) 
    {
        this.tempNote = tempNote;
    }

    public String getTempNote() 
    {
        return tempNote;
    }
    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tempId", getTempId())
            .append("tempNumber", getTempNumber())
            .append("tempName", getTempName())
            .append("tempDept", getTempDept())
            .append("tempPath", getTempPath())
            .append("tempUploader", getTempUploader())
            .append("isdelFlag", getIsdelFlag())
            .append("tempNote", getTempNote())
            .append("uploadTime", getUploadTime())
            .append("docTempId", getDocTempId())
            .append("createBy", getCreateBy())
            .toString();
    }
}
